package com.hyzx.qbasic.admin.common.scheduling;

import org.springframework.stereotype.Component;

/**
 * Created by 黄江华 on 2019/3/20
 * 定时任务示例
 */

@Component("demoTask")
public class DemoTask {
    public void taskWithParams(String params) {
        System.out.println("执行有参示例任务：" + params);
    }

    public void taskNoParams() {
        System.out.println("执行无参示例任务");
    }
}
